﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.Print._Default" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script src="../../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../../Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    <script src="../../Scripts/PCASClass.js" type="text/javascript"></script>

    <style type="text/css">
        body
        {
            font-size: 62.5%;
            margin: 0px;
            padding: 0px;
        }
        .main
        {
            width: 800px;
            font-size: 1.1em;
            position: absolute;
            margin-left: 50%;
            left: -400px;
        }
        .mainprint
        {
            width: 800px;
            font-size: 1.1em;
            margin: 0em;
        }
        .parent
        {
            width: 80%;
        }
        .title
        {
            font-family: 宋体;
            font-weight: bold;
            font-size: 2.6em;
            text-align: center;
            margin-top: 1em;
        }
        .content
        {
            font-size: 2em;
            line-height: 1.5em;
        }
        .foot
        {
            margin-top: 2em;
            font-size: 2em;
            float: right;
            text-align: center;
            width: 18em;
            line-height: 1.5em;
        }
        .ULine
        {
            text-decoration: underline;
            font-weight: bold;
        }
        .btnDiv
        {
            margin: 0px;
            text-align: left;
            background-color: #DCDCDC;
            line-height: 2.5em;
            padding: 0px;
            font-size: 1.4em;
        }
        .ChildDiv
        {
            width: 80%;
        }
        .ChildTitle
        {
            font-size: 2em;
            font-weight: bold;
            text-align: center;
            width: 100%;
            margin: 10px;
        }
        .childcontent
        {
            width:100%;
            text-align: center;
            border-collapse: collapse;
        }
        .childcontent td
        {
            border: 1px solid;
            height: 1.5em;
        }
        .childcontent thead
        {
            font-size: 1.4em;
            text-align: center;
            line-height: 1.5em;
        }
        .childcontent tbody td
        {
            font-size: 1.4em;
            word-wrap: break-word;
        }
        .style1
        {
            width: 459px;
        }
    </style>

    <script type="text/javascript">
        $(function() {
            $('#btnPrint').click(function() {
                $('#mainDiv').removeClass().addClass("mainprint");
                $('.btnDiv').css("display", "none");
                $('.ChildDiv').css("display", "none");
                window.print();
                $('#mainDiv').removeClass().addClass("main");
                $('.btnDiv').css("display", "block");
                $('.ChildDiv').css("display", "block");
                return false;
            });
            $('#btnPrintDetail').click(function() {
                $('#mainDiv').removeClass().addClass("mainprint");
                $('.btnDiv').css("display", "none");
                $('.parent').css("display", "none");
                window.print();
                $('#mainDiv').removeClass().addClass("main");
                $('.btnDiv').css("display", "block");
                $('.parent').css("display", "block");
                return false;
            });
        })
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="btnDiv">
        <table width="100%" border="0px" cellpadding=0 cellspacing=0>
            <tr>
                <td  align="right">
                    地区：
                </td>
                <td>
                    <uc3:AreaControl ID="AreaControl1" runat="server" />
                </td>
                <td align="right">
                    医院类型：
                </td>
                <td>
                    <asp:DropDownList ID="ddlHosType" runat="server">
                        <asp:ListItem Value="0">所有医疗机构</asp:ListItem>
                        <asp:ListItem Value="1">二三级医疗机构</asp:ListItem>
                        <asp:ListItem Value="2">基层医疗机构</asp:ListItem>
                        <asp:ListItem Value="3">社区医疗机构</asp:ListItem>
                        <asp:ListItem Value="4">乡镇医疗机构</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    是否政府办：
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlIsGov" runat="server">
                        <asp:ListItem Value="">全部基层医疗机构</asp:ListItem>
                        <asp:ListItem Value="0">非政府办基层医疗机构</asp:ListItem>
                        <asp:ListItem Value="1">政府办基层医疗机构</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td  align="right">
                    日期：
                </td>
                <td>
                    <asp:TextBox ID="txtTimeFrom" runat="server" Style="width:100px" 
                        onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
                </td>
               
                <td>
                    至<asp:TextBox ID="txtTimeTo" runat="server" Style="width: 100px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
                </td>            
            </tr>
            <tr>
                <td colspan="9" align="right">
                    <hz:HzButton ID="btnPrint" runat="server" Text="打印通知书" Visible="false" />
                    <hz:HzButton ID="btnPrintDetail" runat="server" Text="打印附表" Visible="false" />
                    <hz:HzButton ID="btnPreview" runat="server" Text="预览" OnClick="btnPreview_Click" />
                </td>
            </tr>
        </table>
    </div>
    <div class="main" id="mainDiv">
        <div class="parent">
            <div class="title">
                吉林省基层医疗卫生机构
                <br />
                网上采购药品应缴药款通知书
                <br />
                <br />
            </div>
            <div class="content">
                <span class="ULine">
                    <asp:Label ID="lblOrgName" runat="server" Text=" ********** "></asp:Label></span>卫生局、财政局：<br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 贵局所辖基层医疗卫生机构 <span class="ULine">
                    <asp:Label ID="lblHospitalCount" runat="server" Text=" ** "></asp:Label></span>
                家，于 <span class="ULine">
                    <asp:Label ID="lblYearFrom" runat="server" Text=" **** "></asp:Label></span>
                年 <span class="ULine">
                    <asp:Label ID="lblMonthFrom" runat="server" Text=" ** "></asp:Label></span>
                月 <span class="ULine">
                    <asp:Label ID="lblDayFrom" runat="server" Text=" ** "></asp:Label></span> 日零时通过“吉林省医药采购服务平台”网上采购药品，截止
                <span class="ULine">
                    <asp:Label ID="lblYearTo" runat="server" Text=" **** "></asp:Label></span> 年
                <span class="ULine">
                    <asp:Label ID="lblMonthTo" runat="server" Text=" ** "></asp:Label></span> 月
                <span class="ULine">
                    <asp:Label ID="lblDayTo" runat="server" Text=" ** "></asp:Label></span> 日零时网上采购药品已确认入库货款合计总金额为（大写） <span class="ULine">
                    <asp:Label ID="lblChineseAmount" runat="server" Text=" ********************** "></asp:Label></span>
                （小写）<span class="ULine">
                    <asp:Label ID="lblAmount" runat="server" Text=" ￥********* "></asp:Label></span>
                元（详见附表）。为保证基本药物制度顺利实施，确保基本药物货款及时支付，请接到本通知书后，五个工作日内按本通知书金额及时筹集并拨款至“省医药采购资金专户”。
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; “省医药采购资金专户”信息如下：
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 单位名称：吉林省医药采购服务中心
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 开户银行：吉林银行长春康平街支行
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 银行账号：010101201111678678
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 附表：吉林省基层医疗卫生机构网上采购药品应缴款明细表
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 特此通知。
            </div>
            <div class="foot">
                吉林省医药采购服务中心<br />
                <asp:Label ID="lblYearNow" runat="server" Text=" 2012 "></asp:Label>
                年
                <asp:Label ID="lblMonthNow" runat="server" Text=" 3 "></asp:Label>
                月
                <asp:Label ID="lblDayNow" runat="server" Text=" 1 "></asp:Label>
                日
            </div>
            <div style="clear: both;">
            </div>
        </div>
        <div class="ChildDiv">
            <div class="ChildTitle">
                吉林省基层医疗卫生机构<br />
                网上采购药品应缴款明细表</div>
            <div style="line-height: 1.5em; font-size: 1.4em;width:100%">
            <div style="float:left;">
                缴款单位：<asp:Label ID="lblAreaName" runat="server"></asp:Label></div><div style="float:right;">单位：元</div></div>
            <table class="childcontent" cellpadding="0" cellspacing="0" style="table-layout: fixed;">
                <thead>
                    <asp:Literal ID="litHead" runat="server"></asp:Literal>
                    
                </thead>
                <tbody>
                    <asp:Literal ID="litContent" runat="server"></asp:Literal>
                </tbody>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
